
// 请求地址配置
  define(function (require, exports,module) {
    var app = require('./app')
    module.exports={

      getMessageList:app.spUrl+"/uri/Message/getMessageList",//获取提示
      getMessageNotReadCount:app.spUrl+"/uri/Message/getMessageNotReadCount",//获取提示
      getShopRedTip:app.spUrl+"/uri/shop/getShopRedTip",//获取提示
      doApply:app.spUrl+"/uri/apply/doApply",//品牌合作
      getMemberOne:app.spUrl+"/uri/Merchandise/getMemberOne",//换一个商品
        getUserShopInfo: app.spUrl + "/uri/customer/getCustomer",//获取用户信息
        openShop:app.spUrl + "/uri/shop/open",
        shopDetail:app.spUrl + "/uri/shop/get",
        searchGoods:app.spUrl + "/uri/goods/search",
        fileupload :app.spUrl+ "/uri/fileupload/upload",
        goodsAdd: app.spUrl + "/uri/goods/add",
        goodsEdit: app.spUrl + "/uri/goods/edit",
        getTag: app.spUrl + "/uri/Goods/tag",  //  获取标签列表
        getSysCategory: app.spUrl + "/uri/Goods/getSysCategory",  //  获取系统类目列表
        getCategory: app.spUrl + "/uri/Category/getAll",  //  获取商品分类列表（包括搜索关键字）
        getDispatch: app.spUrl + "/uri/goods/getShopExpressTemplate", //获取运费模版列表
        addCategory: app.spUrl + "/uri/Category/add",
        getTeamDetail:app.spUrl + "/uri/team/getTeamDetail",//团队统计
        getTeamList:app.spUrl + "/uri/team/getTeamList",//下级列表
        getHomeShopGoods: app.spUrl + "/uri/home/getHomeShopGoods",//获取首页推荐/附近/收藏商品信息
        addBatch: app.spUrl + "/uri/shopbanner/addBatch", // 图片关联商品
        personalCenterStatistics: app.spUrl + '/uri/CustomerOrder/personalCenterStatistics', //--个人中心
        buyMyCommentList: app.spUrl + '/uri/CustomerOrder/commentList', //--我的评论
        addressGetList: app.spUrl + '/uri/address/getList', //--获取地址
        addressAdd: app.spUrl + '/uri/address/add', //--添加地址
        addressGetOne: app.spUrl + '/uri/address/get', //--获取某个常用地址
        addressDel: app.spUrl + '/uri/address/delete?', //--删除地址
        addressEdit: app.spUrl + '/uri/address/edit', //--修改地址
        addressDefault: app.spUrl + '/uri/Address/setDefault', //--设为默认地址
        chinaCity: app.spUrl + '/uri/zone/getList', //--全国城市

        getMyCouponDiscountList: app.spUrl + "/uri/coupon/getMyCouponDiscountList", //--获取优惠券
        delCouponUserGet: app.spUrl + "/uri/coupon/delCouponUserGet", //--删除优惠券
        getCartList: app.spUrl + '/uri/cart/getList', //--获取购物车列表
        getCartDelete: app.spUrl + '/uri/cart/delete', //--购物车删除
        cartModNumber: app.spUrl + '/uri/cart/edit', //--购物车更改数量
        cartModOption: app.spUrl + '/uri/cart/changeOption', //--购物车更改规格
        cartGenerateOrder: app.spUrl + '/uri/CustomerOrder/doPayOrder',//--购物车生成订单
        addToCart: app.spUrl + '/uri/cart/addOrUpdate',//--添加到购物车

        buyGetOrderList: app.spUrl + '/uri/CustomerOrder/getOrderList', //--获取订单列表
        buyGetOrderDetail: app.spUrl + '/uri/CustomerOrder/orderDetail', //--获取订单详细
        getCancelReasonList: app.spUrl + '/uri/CustomerOrder/getCancelReasonList', //--获取取消列表
        buyCancelOrder: app.spUrl + '/uri/CustomerOrder/cancelOrder', //--取消订单
        buyOrderReceived: app.spUrl + '/uri/CustomerOrder/orderReceived', //--买家，确认收货
        buyViewExpress: app.spUrl + '/uri/CustomerOrder/viewExpress', //--买家，查看物流
        buyOrderPayment: app.spUrl + '/uri/CustomerOrder/orderPayment', //--支付订单
        buySetCustomerDelay: app.spUrl + '/uri/CustomerOrder/setCustomerDelay', //--延长收货
        buyOrderComment: app.spUrl + '/uri/CustomerOrder/orderComment', //--买家，评价订单
        buyDelOrder: app.spUrl + '/uri/CustomerOrder/delOrder', //--买家，删除订单
        buyConfirmOrder: app.spUrl + '/uri/Customerorder/confirmOrder', //--买家，结算


        productListGet: app.spUrl + "/uri/Products/productListGet", //  获取商品列表（包括搜索关键字）
        categoryEdit: app.spUrl + "/uri/Category/edit", //  编辑商品分类
        categoryActive: app.spUrl + "/uri/Category/active", //  启用/停用商品分类
        productDel: app.spUrl + "/uri/Products/productGoodsDel", //  删除商品
        productOnSale: app.spUrl + "/uri/Products/productGoodsOnSale", //  上架/下架商品
        productChangeCategory: app.spUrl + "/uri/Products/productGoodsChangeCategory", //  上架/下架商品
        shopEdit: app.spUrl + "/uri/shop/edit", // 编辑自己的店铺

        getCollectGoodsList: app.spUrl + '/uri/Collect/getCollectGoodsList',//商品收藏列表获取
        getCollectStoreList:app.spUrl + '/uri/Collect/getCollectStoreList',//店铺收藏列表获取
        cancelcollect: app.spUrl + "/uri/Collect/cancelCollect",//删除个人收藏
        getStepList: app.spUrl + "/uri/Collect/getStepList",//获取足迹记录
        delUserStep:app.spUrl+"/uri/Collect/delUserStep",//删除足迹

        orderListGet: app.spUrl + "/uri/Sellerorder/getOrderList", // 商家获取订单列表
        orderDetailGet: app.spUrl + "/uri/Sellerorder/orderDetail", // 商家获取订单详情
        shopDelOrder: app.spUrl + "/uri/Sellerorder/delOrder", // 商家删除订单
        getSellerReasonList: app.spUrl + "/uri/Sellerorder/getSellerReasonList", //商家获取拒绝退款理由列表
        refuseReturnOrder: app.spUrl + "/uri/Sellerorder/refuseReturnOrder", //商家拒绝退款
        agreeReturnOrder: app.spUrl + "/uri/Sellerorder/agreeReturnOrder", //商家确认退款
        getTradingMoney: app.spUrl + "/uri/Earning/getTradingMoney", // 商家获取我的收入
        getTradingList: app.spUrl + "/uri/Earning/getTradingList", // 商家获取交易中列表
        getWithdrawMoney: app.spUrl + "/uri/Earning/getWithdrawMoney", // 商家获取可提现金额
        getSupplyList: app.spUrl + "/uri/Earning/getSupplyList", // 商家获取结算中列表
        withdrawalList: app.spUrl + "/uri/Earning/withdrawalList", // 商家获取已提现列表
        getBank: app.spUrl + "/uri/Earning/getBank", // 商家获取银行卡信息
        addOrEditBank: app.spUrl + "/uri/Earning/addOrEditBank", // 商家绑定银行卡
        sendCode: app.spUrl + "/uri/Earning/sendCode", // 商家获取验证码
        getCommentList: app.spUrl + "/uri/Sellerorder/sellerCommentList", // 商家获取顾客评论列表
        sellerOrderComment: app.spUrl + "/uri/Sellerorder/sellerOrderComment", // 商家回复评论
        getExpressList: app.spUrl + "/uri/Sellerorder/getExpressList", // 获取快递列表
        setExpress: app.spUrl + "/uri/Sellerorder/setExpress", // 商家手动添加其他快递公司
        orderSendOut: app.spUrl + "/uri/Sellerorder/orderSendOut", // 商家确认发货
        doWithdrawMoney: app.spUrl + "/uri/Earning/doWithdrawMoney", // 商家确认提现

        bannerList: app.spUrl + "/uri/shopbanner/getList", // 获取广告列表
        getCouponActiveList: app.spUrl + "/uri/coupon/getCouponActiveList", // 获取优惠券列表
        setCouponActive: app.spUrl + "/uri/coupon/setCouponActive", // 生成优惠券
        delCouponActive:  app.spUrl + "/uri/coupon/delCouponActive", // 删除优惠券活动

        getCollageList: app.spUrl + "/uri/Groupbook/groupList", // 获取拼团列表
        getclassifyList: app.spUrl + "/uri/Category/getAll", // 获取分类列表
        getGoodsList: app.spUrl + "/uri/goods/search", // 获取商品列表
        getCouponDiscount: app.spUrl + "/uri/coupon/getCouponDiscount", // 领取优惠券
        checkIsCollect: app.spUrl + "/uri/Collect/checkIsCollect", // 检查是否已收藏当前店铺
        addToFavoriteShop: app.spUrl + "/uri/Collect/addToFavorite", // 添加收藏
        cancelCollectShop: app.spUrl + "/uri/Collect/cancelCollect", // 取消收藏
        getGoodsDetail: app.spUrl + "/uri/goods/get", // 商品详情
        getShopDetail:app.spUrl + "/uri/Goods/sellerget", //商家获取商品详情
        getGoodsComment: app.spUrl + "/uri/Goods/comment", // 获取商品评论
        customerEnter: app.spUrl + "/uri/Customer/enter", // 前往商店
        getOtherShop: app.spUrl + "/uri/shop/getOtherShop", // 获取他人店铺信息
        Shop_get: app.spUrl + "/uri/shop/get", // 获取他人店铺信息(有张订单)
        addUserStep: app.spUrl + "/uri/Collect/addUserStep", // 添加足迹
        Share: app.spUrl + "/uri/Share/share", // 获取分享链接
        getGroupDetail: app.spUrl + "/uri/Groupbook/getGroupDetail", // 支付成功后获取拼团信息
        getHomeInformation: app.spUrl + "/uri/Information/getHomeInformation", // 商城提示消息
        getGoodsInformation: app.spUrl + "/uri/Information/getGoodsInformation", // 商城详情提示消息
        groupShare: app.spUrl + "/uri/Groupbook/groupShare", // 拼团分享
        getHomeBanner: app.spUrl + '/uri/Home/getHomeBanner', // 商城首页banner列表
        getSysCategoryGoodsList: app.spUrl + '/uri/Home/getSysCategoryGoodsList', // 商城首页商品列表
        homeGetSysCategory: app.spUrl + '/uri/Home/getSysCategory', // 商城首页顶部系统分类
        searchRecommend: app.spUrl + '/uri/search/recommend', // 商城首页搜索
        searchMain: app.spUrl + '/uri/search/main', // 商城首页搜索详情
        searchGetSearchLocation: app.spUrl + '/uri/search/getSearchLocation', // 获取搜索热门省份和城市
        cartGetCartCount: app.spUrl + '/uri/cart/getCartCount', // 商品详情购物车数量

        beneFit: app.spUrl + '/uri/Customer/benefit', //  推荐分成个人信息
        beneFitLog: app.spUrl + '/uri/Customer/benefitLog', //  推荐分成收益明细

        buyReminderSlip: app.spUrl + '/uri/CustomerOrder/reminderSlip',//--提醒发货
        getOrderReturnReasonList: app.spUrl + '/uri/CustomerOrder/getOrderReturnReasonList', //--退款理由列表
    		buyRefundOrder: app.spUrl + '/uri/CustomerOrder/refundOrder', //--买家，退款
    		buyGetRefundDetail: app.spUrl + '/uri/CustomerOrder/getRefundDetail', //--买家，退款获取商品详情
    		buyGetRefundInfo: app.spUrl + '/uri/CustomerOrder/getRefundInfo',//--买家，获取申请退款信息
    		buyUndoRefund: app.spUrl + '/uri/CustomerOrder/undoRefund',//--买家，撤销申请
    		buyFillInExpress: app.spUrl + '/uri/Customerorder/fillInExpress',//--买家，退款退货，提交快递信息
    		buyGetFillInExpress: app.spUrl + '/uri/Customerorder/getFillInExpress',//--买家，退款退货，获取已寄信息

    		indexTagGoods: app.spUrl + '/uri/Home/tagGoods',//--获取秒杀商品
    		indexGoodsRemind: app.spUrl + '/uri/Home/goodsRemind',//--秒杀商品，提醒我

    		buyWithdraw: app.spUrl + '/uri/withdraw/confirmWithdraw', //--买家分成提现，确认提现金额
        buyWithdrawApply: app.spUrl + '/uri/withdraw/applyWithdraw', //--买家分成提现，确认提现申请
    		getWithdrawList: app.spUrl + '/uri/withdraw/getWithdrawList', //--分成提现记录

        yzcDetail: app.spUrl + '/uri/Yzc/detail', //yzc商品详情
    		getYzcList: app.spUrl + '/uri/Yzc/getYzcGoodsList', //--获取yzc列表
    		getYzcBanner: app.spUrl + '/uri/Yzc/getYzcImages', //--获取yzc轮播图
    		confirmYzcOrde: app.spUrl + '/uri/Yzc/confirmYzcOrder', //--生成yzc订单
        payYzcOrder: app.spUrl + '/uri/Yzc/payYzcOrder', //--生成YZC运费订单
        orderYzcPayment: app.spUrl + '/uri/Yzc/orderYzcPayment', //--支付YZC订单
        convertYzcOrder: app.spUrl + '/uri/Yzc/convertOrder', //--提交yzc订单

        getYzcShopGoodsList: app.spUrl + '/uri/Yzc/getYzcShopGoodsList', //--店铺首页yzc商品列表
    		shareSearch: app.spUrl + '/uri/Share/search', //--店铺首页yzc商品列表

    		openShopCode: app.spUrl + '/uri/Store/checkInvitationCode', //--个人中心，首页开店邀请码
    		openShopShare: app.spUrl + '/uri/Store/getShareCode', //--个人中心，首页开店分享
    		openShopPay: app.spUrl + '/uri/Store/openStore', //--个人中心，首页开店支付

        getOpenId: app.spUrl + "/uri/Shopsetting/getUnionId",  //--根据unionid获取openid
        uploadHeadImage: app.spUrl + "/uri/Shopsetting/uploadHeadImage",  //--个人设置修改头像
        editNickName: app.spUrl + "/uri/Shopsetting/editNickName",  //--个人设置修改昵称
        bindWechat: app.spUrl + "/uri/Shopsetting/bindWechat",  //--个人设置绑定微信
        setPassword: app.spUrl + "/uri/Shopsetting/setPassword",  //--个人设置修改密码
        getUserInfo: app.spUrl + "/uri/Shopsetting/getUserInfo",  //--个人设置获取用户信息

        getMemberTask: app.spUrl + "/uri/Merchandise/getMemberTask",  //--查找是否存在任务
        getMemberGoods: app.spUrl + "/uri/Merchandise/getMemberGoods",  //--获取升级会员的商品
        checkInvitationCode: app.spUrl + "/uri/store/checkInvitationCode",  //--检测开店邀请验证码
        applyToRecommend: app.spUrl + "/uri/goods/applyToRecommend",  //--申请上首页
        createPict: app.spUrl + "/uri/store/getShareCode",  //--获取店铺二维码
        smsCode: app.spUrl + "/uri/customer/smsCode",  //--获取短信验证码
        getApplyRecommend: app.spUrl + "/uri/goods/getApplyRecommend",  //--获取申请记录

    };
})
